#   Changes image filename from raw filename from confocal to minimalist filename for downstream
#   processing. New filename contains only name ID, slide number, and channel name.

import img_util.io

img_basedir = "C:/Tim's Data/IHC folder/"
img_ext = '.png'
name_id_search = 'D2GFT'
slide_nums = ['S1', 'S2', 'S3', 'S4', 'S5', 'S6', 'S7']  # case sensitive; slide string match in filename
multi_slide_wildcard = 'S?_*'  # case sensitive; multi-slide string match in filename
channels = ['AF405', 'AF488', 'AF555', 'AF680']


img_util.io.img_raw_filename_change(img_basedir, img_ext, name_id_search, slide_nums, channels, multi_slide_wildcard)

